package com.zoe.onelink.core.nfs.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * <p>标题: </p>
 * <p>描述: </p>
 * <p>版权: Copyright (c) 2022</p>
 * <p>公司: 智业软件股份有限公司</p>
 *
 * @version: 1.0
 * @author: ruansheng
 * @date: 2022-04-24
 */
@Data
@ConfigurationProperties(prefix = OnelinkNfsProperties.PREFIX)
public class OnelinkNfsProperties {

    public static final String PREFIX = "onelink.nfs";

    private String server;
    private String path;

    private Storage storage = Storage.LOCAL;

    public enum Storage {

        LOCAL, CEPH_FS

    }


}
